﻿<UserControl x:Class="MathematicallySafe.HeadCounter.Views.RosterView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Initialized="RosterViewInitialized">

    <UserControl.Resources>

    </UserControl.Resources>

    <Grid Style="{StaticResource TabContainer}">

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <ListView Name="listViewRoster" Grid.Row="1" Grid.Column="0" 
                  ItemContainerStyle="{StaticResource ListViewItemStyle}" ItemsSource="{Binding Path=Raiders}" >
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="120" CellTemplate="{StaticResource RaiderNameCellTemplate}" Header="RAIDER"/>
                    <GridViewColumn Width="90" CellTemplate="{StaticResource IsInactiveCellTemplate}" Header="INACTIVE"/>
                </GridView>
            </ListView.View>
        </ListView>

    </Grid>
</UserControl>
